﻿CREATE TABLE [dbo].[Receipts] (
    [ReceiptId]     INT            IDENTITY (1, 1) NOT NULL,
    [ReceiptTypeId] INT            NOT NULL,
    [Number]        INT            NOT NULL,
    [Date]          DATETIME       NOT NULL,
    [PaymentTypeId] INT            NOT NULL,
    [PaymentNumber] NVARCHAR (50)  NULL,
    [Notes]         NVARCHAR (MAX) NOT NULL,
    [TotalVat]      DECIMAL (18)   NOT NULL,
    [TotalNet]      DECIMAL (18)   NOT NULL,
    [Total]         DECIMAL (18)   NOT NULL
);



